﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ViewMaker.Core
{
    /// <summary>
    /// Viewコンテンツ生成サービス
    /// </summary>
    public interface IViewContentGenerateService
    {
        /// <summary>
        /// コンテンツを生成する
        /// </summary>
        /// <param name="viewModel"></param>
        /// <param name="layout"></param>
        /// <param name="editable"></param>
        /// <returns></returns>
        IViewContent BuildContent(object viewModel, ViewLayoutItem layout = null, bool editable = true);
    }
}
